2,038 research outputs found

    On duality relations for session types

    Get PDF
    Session types are a type formalism used to describe communication protocols over private session channels. Each participant in a binary session owns one endpoint of a session channel. A key notion is that of duality: the endpoints of a session channel should have dual session types in order to guarantee communication safety. Duality relations have been independently defined in different ways and different works, without considering their effect on the type system. In this paper we systematically study the existing duality relations and some new ones, and compare them in order to understand their expressiveness. The outcome is that those relations are split into two groups, one related to the na¨ıve inductive duality, and the other related to a notion of mutual compliance, which we borrow from the literature on contracts for web-services

    Sized Types for low-level Quantum Metaprogramming

    Full text link
    One of the most fundamental aspects of quantum circuit design is the concept of families of circuits parametrized by an instance size. As in classical programming, metaprogramming allows the programmer to write entire families of circuits simultaneously, an ability which is of particular importance in the context of quantum computing as algorithms frequently use arithmetic over non-standard word lengths. In this work, we introduce metaQASM, a typed extension of the openQASM language supporting the metaprogramming of circuit families. Our language and type system, built around a lightweight implementation of sized types, supports subtyping over register sizes and is moreover type-safe. In particular, we prove that our system is strongly normalizing, and as such any well-typed metaQASM program can be statically unrolled into a finite circuit.Comment: Presented at Reversible Computation 2019. Final authenticated publication is available online at https://doi.org/10.1007/978-3-030-21500-2_

    A New Linear Logic for Deadlock-Free Session-Typed Processes

    Get PDF
    The π -calculus, viewed as a core concurrent programming language, has been used as the target of much research on type systems for concurrency. In this paper we propose a new type system for deadlock-free session-typed π -calculus processes, by integrating two separate lines of work. The first is the propositions-as-types approach by Caires and Pfenning, which provides a linear logic foundation for session types and guarantees deadlock-freedom by forbidding cyclic process connections. The second is Kobayashi’s approach in which types are annotated with priorities so that the type system can check whether or not processes contain genuine cyclic dependencies between communication operations. We combine these two techniques for the first time, and define a new and more expressive variant of classical linear logic with a proof assignment that gives a session type system with Kobayashi-style priorities. This can be seen in three ways: (i) as a new linear logic in which cyclic structures can be derived and a CYCLE -elimination theorem generalises CUT -elimination; (ii) as a logically-based session type system, which is more expressive than Caires and Pfenning’s; (iii) as a logical foundation for Kobayashi’s system, bringing it into the sphere of the propositions-as-types paradigm

    Forefoot pathology in rheumatoid arthritis identified with ultrasound may not localise to areas of highest pressure: cohort observations at baseline and twelve months

    Get PDF
    BackgroundPlantar pressures are commonly used as clinical measures, especially to determine optimum foot orthotic design. In rheumatoid arthritis (RA) high plantar foot pressures have been linked to metatarsophalangeal (MTP) joint radiological erosion scores. However, the sensitivity of foot pressure measurement to soft tissue pathology within the foot is unknown. The aim of this study was to observe plantar foot pressures and forefoot soft tissue pathology in patients who have RA.Methods A total of 114 patients with established RA (1987 ACR criteria) and 50 healthy volunteers were assessed at baseline. All RA participants returned for reassessment at twelve months. Interface foot-shoe plantar pressures were recorded using an F-Scan® system. The presence of forefoot soft tissue pathology was assessed using a DIASUS musculoskeletal ultrasound (US) system. Chi-square analyses and independent t-tests were used to determine statistical differences between baseline and twelve months. Pearson’s correlation coefficient was used to determine interrelationships between soft tissue pathology and foot pressures.ResultsAt baseline, RA patients had a significantly higher peak foot pressures compared to healthy participants and peak pressures were located in the medial aspect of the forefoot in both groups. In contrast, RA participants had US detectable soft tissue pathology in the lateral aspect of the forefoot. Analysis of person specific data suggests that there are considerable variations over time with more than half the RA cohort having unstable presence of US detectable forefoot soft tissue pathology. Findings also indicated that, over time, changes in US detectable soft tissue pathology are out of phase with changes in foot-shoe interface pressures both temporally and spatially.Conclusions We found that US detectable forefoot soft tissue pathology may be unrelated to peak forefoot pressures and suggest that patients with RA may biomechanically adapt to soft tissue forefoot pathology. In addition, we have observed that, in patients with RA, interface foot-shoe pressures and the presence of US detectable forefoot pathology may vary substantially over time. This has implications for clinical strategies that aim to offload peak plantar pressures

    Clinical Reasoning by Veterinary Students in the First-Opinion Setting: Is It Encouraged? Is It Practiced?

    Get PDF
    A mixed-methods study was performed to investigate the perceived importance and efficacy of teaching clinical reasoning (CR) skills among students and faculty in a university first-opinion veterinary practice, as this has not previously been described. Qualitative analysis of interview data, discussing objectives and factors considered important for effective learning and the understanding of CR, was performed alongside quantitative analysis of the Preceptor Thinking-Promotion Scale (PTPS) and the Learner Thinking-Behavior Scale (LTBS) (assessing the level of CR encouraged by clinicians and displayed by students) in peri-consultation discussions. Themes that emerged from analysis of the interviews regarding objectives included the desire to develop data acquisition and the need to improve data manipulation and CR. Themes associated with effective learning were a positive student-centered learning environment and feedback. Type II CR was fairly well described, but recognition of the importance of type I CR was poor among clinicians and students and, in some instances, was deemed to be inappropriate. Although many clinicians and students expressed a desire to develop student CR, there was little evidence of this actually occurring in the interactions analyzed, with low PTPS and LTBS scores achieved. There was also poor understanding of whether effective teaching of CR had occurred, demonstrated by a lack of correlation between LTBS and the interaction score for development of student CR. Further training of clinicians and students of the value of type I CR in first-opinion practice is required, as well as clinician education in how best to support the development of CR in students

    On the relative expressiveness of higher-order session processes

    Get PDF
    By integrating constructs from the λ-calculus and the π-calculus, in higher-order process calculi exchanged values may contain processes. This paper studies the relative expressiveness of HOπ, the higher-order π-calculus in which communications are governed by session types. Our main discovery is that HO, a subcalculus of HOπ which lacks name-passing and recursion, can serve as a new core calculus for session-typed higher-order concurrency. By exploring a new bisimulation for HO, we show that HO can encode HOπ fully abstractly (up to typed contextual equivalence) more precisely and efficiently than the first-order session π-calculus (π). Overall, under session types, HOπ, HO, and π are equally expressive; however, HOπ and HO are more tightly related than HOπ and π

    Resource Sharing via Capability-Based Multiparty Session Types

    Get PDF
    Multiparty Session Types (MPST) are a type formalism used to model communication protocols among components in distributed systems, by specifying type and direction of data transmitted. It is standard for multiparty session type systems to use access control based on linear or affine types. While useful in offering strong guarantees of communication safety and session fidelity, linearity and affinity run into the well-known problem of inflexible programming, excluding scenarios that make use of shared channels or need to store channels in shared data structures. In this paper, we develop capability-based resource sharing for multiparty session types. In this setting, channels are split into two entities, the channel itself and the capability of using it. This gives rise to a more flexible session type system, which allows channel references to be shared and stored in persistent data structures. We illustrate our type system through a producer-consumer case study. Finally, we prove that the resulting language satisfies type safety

    Systematic review of communication technologies to promote access and engagement of young people with diabetes into healthcare

    Get PDF
    Background: Research has investigated whether communication technologies (e.g. mobile telephony, forums, email) can be used to transfer digital information between healthcare professionals and young people who live with diabetes. The systematic review evaluates the effectiveness and impact of these technologies on communication. Methods: Nine electronic databases were searched. Technologies were described and a narrative synthesis of all studies was undertaken. Results: Of 20,925 publications identified, 19 met the inclusion criteria, with 18 technologies assessed. Five categories of communication technologies were identified: video-and tele-conferencing (n = 2); mobile telephony (n = 3); telephone support (n = 3); novel electronic communication devices for transferring clinical information (n = 10); and web-based discussion boards (n = 1). Ten studies showed a positive improvement in HbA1c following the intervention with four studies reporting detrimental increases in HbA1c levels. In fifteen studies communication technologies increased the frequency of contact between patient and healthcare professional. Findings were inconsistent of an association between improvements in HbA1c and increased contact. Limited evidence was available concerning behavioural and care coordination outcomes, although improvement in quality of life, patientcaregiver interaction, self-care and metabolic transmission were reported for some communication technologies. Conclusions: The breadth of study design and types of technologies reported make the magnitude of benefit and their effects on health difficult to determine. While communication technologies may increase the frequency of contact between patient and health care professional, it remains unclear whether this results in improved outcomes and is often the basis of the intervention itself. Further research is needed to explore the effectiveness and cost effectiveness of increasing the use of communication technologies between young people and healthcare professionals

    Diffractive Higgs Production by AdS Pomeron Fusion

    Full text link
    The double diffractive Higgs production at central rapidity is formulated in terms of the fusion of two AdS gravitons/Pomerons first introduced by Brower, Polchinski, Strassler and Tan in elastic scattering. Here we propose a simple self-consistent holographic framework capable of providing phenomenologically compelling estimates of diffractive cross sections at the LHC. As in the traditional weak coupling approach, we anticipate that several phenomenological parameters must be tested and calibrated through factorization for a self-consistent description of other diffractive process such as total cross sections, deep inelastic scattering and heavy quark production in the central region.Comment: 53 pages, 8 figure
    • …
    corecore